package cn.iocoder.yudao.module.pypm.controller.admin.iteration.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotNull;
import lombok.*;

import java.time.LocalDate;


@Schema(description = "管理后台 - 迭代信息新增/修改 Request VO")
@Data
public class IterationSaveReqVO {

    @Schema(description = "ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "32377")
    private Long id;

    @Schema(description = "项目ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "24941")
    @NotNull(message = "项目ID不能为空")
    private Long projectId;

    @Schema(description = "开始时间")
    private LocalDate startDate;

    @Schema(description = "结束时间")
    private LocalDate endDate;

    @Schema(description = "说明")
    private String describe;

}